package com.example.fms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.fms.dto.req.OrdersReqDto;
import com.example.fms.dto.resp.OrdersRespDto;
import com.example.fms.dto.resp.OrdersRespOneDto;
import com.example.fms.entity.Orders;
import com.example.fms.entity.Right;

public interface OrdersService extends IService<Orders> {
    Page<OrdersRespOneDto> getOrdersPage(String query, OrdersReqDto req);

    Boolean putOrdersById(OrdersReqDto req, Long id);

    OrdersRespOneDto getOrdersById(Long id);

    Boolean putAddressById(Long id, Integer consigneeAddr);
}
